package com.week.tiny_video.service;

import com.week.tiny_video.pojo.Administrator;

import java.util.List;

public interface AdministratorService {

    public boolean isExist(String username);

    public Administrator getByName(String username);

    public Administrator get(String username, String password);

    public void add(Administrator administrator);

    public List<Administrator> list();

    public Administrator getById(int id);

    public void delete(int id);
}
